package com.domain.dao;

import com.domain.pojo.Users;
import org.apache.ibatis.annotations.Param;

public interface UsersMapper {
    int deleteByPrimaryKey(String id);

    int insert(Users record);

    int insertSelective(Users record);

    Users selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);

    //验证手机号是否注册
    int selectByPhone(@Param("phone") String phone);

    //验证用户登录
    Users selectByUserPhone(@Param("phone") String phone);

    int updateSpectralValue(@Param("helpId") String helpId);
}